package com.wangce.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ClassName: Dim
 * Description:
 * date: 2021/11/22 9:39
 *
 * @author 凡人
 * @since JDK 1.8
 */
public class Dim {
    private Long orderid;
    private String field1;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    private String content;

    private String field2;
    private String val;
    private String field3;
    private Double startPrice;
    private Double endPrice;

    @Override
    public String toString() {
        return "Dim{" +
                "orderid=" + orderid +
                ", field1='" + field1 + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", content='" + content + '\'' +
                ", field2='" + field2 + '\'' +
                ", val='" + val + '\'' +
                ", field3='" + field3 + '\'' +
                ", startPrice=" + startPrice +
                ", endPrice=" + endPrice +
                '}';
    }

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public Double getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(Double startPrice) {
        this.startPrice = startPrice;
    }

    public Double getEndPrice() {
        return endPrice;
    }

    public void setEndPrice(Double endPrice) {
        this.endPrice = endPrice;
    }

    public Dim() {
    }

    public Dim(Long orderid, String field1, Date startDate, Date endDate, String content, String field2, String val, String field3, Double startPrice, Double endPrice) {
        this.orderid = orderid;
        this.field1 = field1;
        this.startDate = startDate;
        this.endDate = endDate;
        this.content = content;
        this.field2 = field2;
        this.val = val;
        this.field3 = field3;
        this.startPrice = startPrice;
        this.endPrice = endPrice;
    }
}
